<?php

include_once("php/dbconfig.php");
$db = new DBConnection();
$db->getConnection();

$sql = "SELECT eid,picture_paths,vid FROM event WHERE picture_paths IS NOT NULL;";
echo $sql."<br>";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {
    echo '<br>' . $row[0] . '#' . $row[1] . '#' . $row[2] . '</br>';
}
?>
